DevOwl\RealCookieBanner\Utils C

Total Complexity 103
Dependencies 3
Dependents 22
Total lines 554
Lines of code 321
Logical lines of code 167
Comment lines 216
Methods 24
Properties 0

Methods 24

Method Rating Maintainability Complexity Lines of code
setCookie()
A
41 10 66
isPageBuilder()
A
59 11 13
isFrontend()
A
57 9 17
removeNonPermalinkQueryFromUrl()
S
51 7 25
host()
S
54 7 20
isPluginActive()
S
55 6 19
isRest()
S
57 6 15
isDownload()
S
60 5 13
posts_where_find_in_set()
S
55 4 18
currentContentTypeIs()
S
60 4 13
getIpAddress()
S
61 4 12
array_flatten()
S
62 4 11
getActivePluginsMap()
S
61 3 12
giveHost()
S
69 3 5
getRandomWeightedElement()
S
64 3 9
endsWith()
S
68 2 7
hash()
S
65 2 8
anyPluginActive()
S
72 2 4
isCLI()
S
78 2 3
isPageBuilderFrontend()
S
70 2 6
isPreinstalledEnvironment()
S
68 2 7
flatten()
S
67 2 8
getRequestUrl()
S
69 2 6
startsWith()
S
74 1 4